I'd be worried about calculating it... It might be better just not to use the mapping approach above a certain number of classes.