D-shape fit