Make hasSibling and hasTile check 9x faster