Removed calculatePartition sub module.