Started work on data distribution and loop splitting