Please work with Anuj and Kanchan on a single coherent set of patches to make integrity splitting work properly. It would probably also help if you posted your code using this somewhere.