A HILLCLIMBING TECHNIQUE USING PIECEWISE CUBIC APPROXIMATION