(HEVC/Research) Rewrite the monolitic xIT to match with OpenHEVC.