added polyelement recentering