$!seen for write. $seq_in_map = 0 for array