A Locality Optimizing Algorithm for Developing Stream Programs in Imagine | AMiner