generates n-space points and compares them