I have created the Hash of Array based on a tab separated file... Thank you for the suggestion, but the thing is that I can't know beforehand which is the range of missing positions... I was thinking of having a way to "check" that there is a gap in the positions array, but how?