Shifting array on remove