Fixed edge cases for smooth noise (assuming correct size and step)