Revert "join the remaining instead of reversing"

This reverts commit 9a4700ffde1ef682ca13df90813b53a92c54cae2.