Unstructured polyhedral mesh generator with improved grid quality metrics