Ionospheric scintillation modeling for high- and mid-latitude using B-spline technique