Use unboxed array for storing flood fill flags