modified randomread.c

be able to specify read range