Greedy task partitioning - trying a scheme that attempts to share between all of the tasks