Transition between low and high angle grain boundaries