The effect of memory and vision range on cooperators dynamics in donation game