refinement of stl geometries