Locally finite polynomial endomorphisms