Fixed runtime for N=1023 in R1