Algorithms for computing the $h$-range of the postage stamp problem