minimize static assignments