We present preliminary results for the scale setting of SU(N) Yang-Mills theories using twisted boundary conditions and the gradient-flow scale t0. The end goal of this study is to determine the SU(N)Λ-parameter through the step-scaling method. The scale t0, being defined from the flowed action density of the gauge fields, is correlated with their topological charge and thus could be affected by topological freezing. We deal with this problem with the Parallel Tempering on Boundary Conditions algorithm, which we found to be effective for the same numerical setup in a previous work.