Add support for bits per row in config file