Adding flow algorithm for table rows...