mult-add: benchmark for nested function