improve splitdiff