fixed: resize arrays before insertions