Collisions with map now work for arbitrary size