update grow() method and added comments.