add boundaries table and modifs on theoritical part