figuring out board geometry