Use at() instead of operator [] to avoid detach and save time