Add more needed computation on the SQP example.