Change stone generate method.