Checking the durability of shoes