Add restricted horizontal connection feature.
Relax valley penalty in left/right side valley.