Fix issue #322
Use [] instead of at to skip bounds checking