fix int representation bug and refactoring
refactoring
implement PackIntRepresentation
update content