I wonder if the calculated length could become zero in some extreme cases.