Prisoner who learned to change pants while ankles were chained

It’s a simple, if non-intuitive, topological problem. We had a thread about it eight years ago. Practically speaking, it just requires enough space between the person’s leg and the ankle band to feed one leg’s worth of the trousers through.