Adaptive sampling to "Composition of functions" type questions.