first collision detection for bricks