Nm planner - fix this api

better to use `const auto& calc_dest` to avoid useless copy, as auto will expand to a type without qualifiers (const, volatile, &...)