Make the partitioner a member variable and use it instead of modding directly.