Added important changes to the new cell's algorithm