Use frozenset for BLOCKMAPPING.