How to choose a roommate