Started minmax

Change-Id: I59e7129dce19a2e89be1da1839a53340d2d32bb9