-make invade from boundary optional.(default false)