A program paying mortgages in small towns has been unexpectedly successful.