Construction of Capacity Achieving $(M, d, \infty)$ Constrained Codes With Least Decoder Window Length