No idea how to optimize instructions, but at least I got it in two arms.