One way of avoiding the trap would be to keep net population growth very low, although there might then perhaps be dangers associated with the stagnation of the civilization. Another would be to constrain growth once the limits of resource are reached, but to allow rapid growth at the frontier.