Use where condition I/O offset if possible
Merge pull request #3 from ghanti/master

Use where condition I/O offset if possible