Split large method.
Validate minimum and maximum of credits.