the grid class shouldn't store each individual line and head, but should only acknowledge those when converted to mesh.