Greatly simplified cullLocalBox.