Surface engineering along the close-packed direction of perovskite oxides