Change the KeyMap data structure from Point1,Point2,Key to Point1,Size,Key