A theoretical analysis of the frequency of gaps in plant stands