Add comments on recursive behaviour regarding the memory