Improved routing using rack map