fixing bug when there is not enough switches to get more partition