unification of after & before constraints, normalization of reference offset to 0