A rapidly convergent method of solving the OZ equation