Finite-difference method for parameterized singularly perturbed problem