Factor out 2 copies of code calling for a next arrangement.