Finally, an algorithm for picking the perfect bra