fixed bug with saturated cells