add blocks collision detection