add max stack size where infinity storage