HashMap boundries returning wrong coords

fixes #476