Build spatial hash class, need to test