time invariant distance measure