doing iterations through multiple link density thresholds