Set Flat symmetry in Foil class
Path extrema and const correctness