insert method compress and  change  array
change array and  version