modify denoms to return all denominators