if ((position % numColumns == 0) && (changedBlocks.size() > 0)) {
Integer[] bc = new Integer[changedBlocks.size()];
System.arraycopy(changedBlocks.toArray(), 0, bc, 0, bc.length);
changedBlocks.clear();
notifyChangedBlockListener(new BlockMessage(bc));
}
}
long end = System.currentTimeMillis();
// System.out.println("Processing blocks took " + (end - start) + " millis");