better partial contact logic for heel-toe walking