Some tunings for better use of memory.