STP merge