Attempt at best-fit