minor
BUGFIX: fixed wrong distance over several RS