Best is not defined, sometimes its actually impossible, but in general what you use is circular structures to overcome this problem. Theres no generic method for this tough as we dont know how to evaluate such systems mathematicaly in way thet lets us solve teh best way. Good too because otherwise many 3d artists would be out of a job.