Fix serious performance issue with max field size

Apparently it takes a while to get the length of a immutable list