Let's memoize and freeze this map, so we don't do the (linear) construction each time.