Cleaned up maxes, after testing against version using reduce