Don’t set rigid terms on child custody: SC