fix bug with extend number not zero'ing the new digits