Slice arguments for computed only once. Fixes #4847

@stefanpenner a quick one for you fixing #4847. Feel free to close if you had something else in mind.