introduce abstract method length
introduce StandardDistance for convenience
introduce convenience constructor using StandardDistance