range code cleanups and regtests, and renamed size() to GetDistanceSpanned() - since less likely to be ambiguous/confused