Ensured that config->data_size has correct value; global size if flag global_size is set, active size if not