refactoring to have only one level, but changing collision detection
collision maskbits/categorybits done