End of worksession commit, some kind of bug with dynamically allocating the sharedPartitions variable.