Added multiple resolution adaptation.