absolute value used for lengths