Numerical solution of the singularly perturbed problem with nonlocal boundary condition