changed keys for gridStar algorithm