dec to bin w/ stack