Fixed cell splitting and added a command-line option to change it