A micromechanical model of surface steps