cpu: new shape metching