Speed up the path-order-optimizer by using a hashmap to look for nearby points. This greatly speeds up the order optimizer when used on infill lines.