explain new terra_initwithoptions.