Fix bug on region updater that caused OutOfBoundsException (issue #5)