that way the water could be heated on the galley stoves in between the cooking and serving of food and , after being used , could then be tossed out the porthole , that deck being above the waterline .