The self-thinning rule and plant population modelling with resource constraints