Density test checks for max and average lengths of clusters