Multistage Monte-Carlo simulation of jet modification in a static medium