Text this: Rank gaps and the size of the core for roommate problems