Added option to enable/disable sequential layout optimisations