Added compressed sequence cpp