tweak to build of pairs-gd.txt + additions