(M=max{4,min{(M/(2^D)),(N/(2^D))}}Eq.  (3))