memory friendly path mapping