calculated meanLen and plotted trends