Fixed off-by-one