Move make_site to Ocsigen_extensions and improve loop recursion