checking for gap and id % starting at given flank start