The Postage Stamp Problem: An algorithm to determine the h-range on the h-range formula on the extremal basis problem for k = 4