Fix plan comparison
Fix plan construction (ind_sizes element order)