Reduce transition length in diagram