Extra loops removed
Early Qint termination with invalid parameters
Passing some heavy structures by reference
Piecewise linear function changed to sum