added option size in deformGrid3d