An algorithm of the boundary value problem based on multiscale orthogonal compact base. (March 2020)