map() issues with a temporary solution

Running the input/output through Serial, I saw that the distribution in map is horribly uneven.

It is not. You have (shown) not a shred of proof for that statement.