solve partition list