computing min/max locally
check for u
fillBetween