working linear interpolation for wormholes