Finalized code for fast cell spreading
Merged more changes