simplified version of Etienne's autocentring
uses latest lucid