in the middle of working out how to turn the path nodes into polynomial sums for the fields