Change Complex calulation to mutate the number instead of creating new objects