Fixing generateBoundingBoxBuffers(), culling works corectly