Added length measurements to the ground truth generator file