implemented basic entity culling and blocks