added an upper bound for the expected occupancy