tosem: Add complexity optimization to backbone algorithm