Removed useless, slow, code
Skip slow gap detection if we aren't going to fill gaps anyway