Fix first implementation of splinePath