Implement MinFields/MaxFields for maps