simplify geometry