That's why our 2011 robot had a two-joint arm: reaching the floor and the top peg while fitting within the starting configuration. There were of course other ways to do that -- single-joint arm with an extender or forklift-type mechanism, but I don't know that they were in fact any easier or more elegant than what we came up with. (Some were faster, which mattered far, far too much!

)