An approach to the multiple-minimum problem in protein folding, involving a long-range geometrical restriction and short-, medium-, and long-range interactions