Quantum signatures of nonlinear resonances in mesoscopic systems: efficient extension of localized wave functions.