refactored gridbeams into individual pieces