both: implement minimize support