- added routines for computing the data's range in approximate sort