Select in corner different program according to inner, outer machining