Implemented randomized partitioning option
0.2.0