Compute size only once.