Fixed bug in shared term interpolation

We tried to create divisible functions with negative index.