removed 2 last values in resolution array to have the zoom limitation effective