calculate max diameter per genus per site