intword (n,c,d) -> compactInteger(n,d)