I would change all 10g at once unless ,as staed, it was a nano tank(under 30g).
However, I have a 10g nano, and I do 100%(theoretically) water changes by siphoning out 1 gallon and putting back 1, drain another fill another and so on until I have replaced 10 g. Granted, there is some original water in the tank after the change it is very dilluted and free of DOCs, and replenished of vital trace elements