How modern families increase social inequality