adjusting dimension fed to nestForAlloc