performance improvements in culling