Fix off by one bug.
Keep it private.