gates are now made of unit blocks with proper collision detection