Max Product by splitting N