Assure values is never null to avoid checking
Keep track of size to avoid recomputation over and over again