Added adjustable domain max/min