GenericReader: fix bounds, needs testing