trying to optimize memory alocation, keeping only alive cells