fix length unit conversion for points trait