#25, replace duplicated literal values with MASS_RANGE and TRACK_SIZE, use one LinearFunction for mapping between them.