Better way to define pagination in configuration files with start and step