added min_interval_length & grid_step_label_max params