Insects have legs only on the thorax. In crustaceans (shrimp) and myriapods (centipede), the Ubx/Abd-A proteins are expressed in leg-bearing segments without blocking legs.
In the insect lineage, Ubx changed (it gained a C-terminal repression domain) so that it represses Distal-less in the abdomen and suppresses abdominal legs. Springtails, though hexapods, still carry modified abdominal appendages (collophore, retinaculum, furcula). So the change belongs on the branch leading to the true insects (beetle, moth, butterfly, mosquito, fly): position S. (D)