performance hack - calculate population properties once, assuming that individuals do not change