support for decimal distances