completes material merge