Instead of trying to compute the local storage based on maximum entry