temporarily added sped up version of recentreImage, needs to be moved into function