rebuild N, fixes #59