Fix parser
 change format to (1..4) from (1.4) //for random value
 fix calculating value with random (can be less then MIN value)