added fast encode path for default code block style
fixed bug where dc shift is erroneously skipped when mct is disabled
removed problematic scanf lines
parallelize encode and decode