Optimization and a beta of brute-forse fitting