Improve usability of compute-distmap