One factory with n=311 inputs, k=71 outputs and distance d=3.
Nearest lengths with the same k and d: [\![309,\,71,\,3]\!]