procedure for calculating length distribution dependent on coverage updated