added support for reading regions indices too
made adding outof/into offset an option
added documentation