Energy-driven surface evolution in beta-MnO2 structures