Two algorithms to choose from - grid and region centric.  Need to decide which is faster