corrected typo in map resizing math.