*.log
 *.aux
 *.fmt
-*.eps
 *.toc
-*.dvi
+*.png
 
-LATEX:=latex
+LATEX:=pdflatex
 DOCUMENT:=report
-GRAPHS:=toy.eps toy2.eps toy3.eps
+GRAPHS:=toy.png toy2.png toy3.png
 
 .PHONY: all clean
 .SECONDARY: $(DOCUMENT).fmt $(GRAPHS)
 
 all: $(DOCUMENT).pdf
 
-%.dvi: %.tex %.fmt implementation.tex results.tex $(GRAPHS)
+%.pdf: %.tex %.fmt implementation.tex results.tex $(GRAPHS)
        $(LATEX) $<
        $(LATEX) $<
 
-%.pdf: %.dvi
-       dvipdfm $<
-
-%.eps: %.dot
-       dot -Teps $< > $@
+%.png: %.dot
+       dot -Tpng $< > $@
 
 %.fmt: pre.tex
        $(LATEX) -ini -shell-escape -jobname="$(basename $@)" "&$(LATEX) $<\dump"
 
 clean:
-       $(RM) -rv $(addprefix $(DOCUMENT).,fmt log aux dvi) *.pdf *.dvi *.eps
+       $(RM) -rv $(addprefix $(DOCUMENT).,fmt log aux dvi pdf) *.png
 
 $i_2$ and lastly $12, 14, 16$ represents $i_3$.
 \begin{figure}[p]
        \centering
-       \includegraphics[scale=0.1]{toy.eps}
+       \includegraphics[width=\textwidth]{toy.png}
        \caption{Initial state encoding of the example~\label{fig:toy}}
 \end{figure}
 
 
 \begin{figure}[p]
        \centering
-       \includegraphics[scale=0.1]{toy2.eps}
+       \includegraphics[width=.5\textwidth]{toy2.png}
        \caption{Goal state encoding of the example~\label{fig:toy2}}
 \end{figure}
 
 
 \begin{figure}[p]
        \centering
-       \includegraphics[scale=0.1]{toy3.eps}
+       \includegraphics[width=.8\textwidth]{toy3.png}
        \caption{Sub-BDD of a move~\label{fig:toy3}}
 \end{figure}
 
 
 \documentclass{article}
 
-\usepackage{a4wide}
 \usepackage{amsmath}
 \usepackage{amssymb}
 \usepackage{booktabs}
+\usepackage[a4paper]{geometry}
 \usepackage{graphicx}
 \usepackage{listings}
 
 
        graph [dpi = 300];
        node [nodesep=0.75];
        edge[weight=2, dir=forward];
-       "0" [shape=box, label="F", style=filled, shape=box, height=0.3, width=0.3];
-       "8000000000000000" [shape=box, label="T", style=filled, shape=box, height=0.3,
+       "0" [shape=box, label="F", style=filled, height=0.3, width=0.3];
+       "8000000000000000" [shape=box, label="T", style=filled, height=0.3,
        width=0.3];
        root [style=invis];
        root -> "1b" [style=solid];
 
        graph [dpi = 300];
        node [nodesep=0.75];
        edge[weight=2, dir=forward];
-       t [label="...", style=filled, shape=box, height=0.3, width=0.3];
+       t [label="...", style=filled, shape=triangle, height=0.3, width=0.3];
        f [label="F", style=filled, shape=box, height=0.3, width=0.3];
        root [style=invis];
        root -> "0" [style=solid];