Fixes Bug 1060177 - [ALA] Grid Algorithm