Compute islands in a binary grid | Snapchat