I initially tried using bulk put methods but could not get it to work without throwing an IndexOutOfBoundsException. Swapping with the suggested line throws the exception as well.. any thoughts?