Take noise context parameters by reference rather than by value