Remove old code. Something is still not right here with smoothing not
even.
Former-commit-id: f1d5ac17714dbbf71aae5de61f7ed3c4538934ed
Former-commit-id: ec7f0d53d5ef132102808bcef83aea84453b0387
Former-commit-id: 81ca8195d1c72810e776de098086c00dc7aeecfc