Added stuff related to post processing of Sullivan's codes