smooth frame rate and pass values in config