collision detection when creating blocks