Using octree representations to parse stl files