A level set approach to the wearing process of a nonconvex stone