update for new spatial-math which uses `linear`