Our brains have evolved to cope with group living