Fixed loss of precision on length tools