Only compact to terms when relative flag is set.