Shape-Selective Recognition and Self-Assembly of mm-Scale Components