Basing skeleton distance on min rather than max neighbour solves problem of overly trimmed extremities appearing to have large distance