ensure we flush the bin when the underlying array changes