What exactly do you mean by "doesn't reach one month"? You could have a system where any accrued unpaid interest is paid out when an account is closed.