move block rate-estim into its own tool