Small correction
Removed hardcoded filename, added 10 base minimum gap size