Fixed bug on alive cells number calcul