create tool to convert partitioner