batch commit for cross prod and cyclic trans closure