Constraining the magnitude of the Chiral Magnetic Effect with Event Shape Engineering in Pb–Pb collisions at sNN=2.76 TeV