cull superfluous branch