make the solution vectors the right size