verify some geometry code