max number of solutions