comparing performance between replacing grid cell with finding object inside it and updating