convert stdspaceres to str in est_smoothing function in case passed as integer