WIP changed env to list and started using List.fold_left