Periodic interpolation now works