Costs are yet to be tweaked. This patch is joint work between: Milo Davis <davis.mil@husky.neu.edu> Benjamin Canou <benjamin@canou.fr> Pierre Chambart <pierre.chambart@ocamlpro.com>