modified elastic adaptation