Step 5: identify phases

Uses elements and ledge depth to find bottom phase, and labels
ascent/descent from there.