added frustum culling, does not fully work