debug_print_rmap
debug_print_rmap(rmap, "after invalidating old distances");
debug_print_rmap(rmap, "after updating neighbours");
debug_print_rmap(rmap, "after copying neighbours");