Minor refactoring for initial guess approximation