Make the hashPoint function use a const to fix compile issues.