Least-squares floor estimation now works.