A GLUING LEMMA FOR ITERATED FUNCTION SYSTEMS