Fixing dMax = 100

Fixing dMax = 100