lcl: don't overwrite input memory.