Various fixes for composition length calculation. Related to #427

parent 72c1fab0
Pipeline #10107 passed with stage
in 24 minutes and 44 seconds