renamed sphere hash keys, added hit test