fixing a bug in tesselateFarFieldGrains