speed up for Grow3D using logical indexing
speed up for Grow3D using logical indexing

cerr/CERR,aditiiyer/CERR,cerr/CERR,cerr/CERR,cerr/CERR,aditiiyer/CERR,aditiiyer/CERR,cerr/CERR,aditiiyer/CERR,aditiiyer/CERR,cerr/CERR,aditiiyer/CERR,cerr/CERR,cerr/CERR,aditiiyer/CERR,aditiiyer/CERR,cerr/CERR