Diagram measuring end gap