Speed up by not using [] operator.