Optimal Integration