An alternative characterization of the equal-distance rule for allocation problems with single-peaked preferences