improve link strength histogram filtering