working with skipped chunks
put seek instead of a discarted mem alloc
sorted the ints and the frame count