Remove boundary treatment part from interaction.c