upto growing array again, faster and correct