Nonadditivity of interaction in water trimers