With P1 centered the circuit should give output of 14v or about 2.3v per cell. For a 6v battery you will need an output of 7v, 8v - 9.3v, 4v - 4.7v. The output voltage is set by potential divider R3 and R4/P1.
Here is what I would do.
Replace R4 with a 47k pot set at 47k and set P1 mid position. Power on the circuit and decrease the setting of the pot until the output voltage is the required value. Replace the pot with the nearest value fixed resistor. Adjust P1 to get the exact voltage required.

Phil