add support for one segment diffs