Fixed min/max calculation