apply variable partition (required input)