rebuild interface cut and add interface sub