Removed the slow, unnecessary last iteration