Condensation of classical optical waves beyond the cubic nonlinear Schrodinger equation