keep only the top N given links form each state