Freeing thread info paths.

Also made herk IC and JC loops do weighted partitioning