Selecting microhaplotypes optimized for different purposes