fix caching of function fields
fix order of morphisms
fix is_minimial