added measurment around map generation to prove that new method with painter is faster (it is about 25x)