Optimized & refactored cell size back-end a bit.