pre-run log_const