fix repulsion only for same hierarchy nodes