added bugfix to HexMap that resulted in some wrong lines returned