After they were in the boiling water, they had changed the water.
(they; were; in the boiling water) (they; had changed; the water; T:After they were in the boiling water)
they they
were had changed
in the boiling water
the water T:After they were in the boiling water