tweak balanced predicate