implemented decision points with priority (DPT prior)
fixed terminate conditions check (checks are made everywhere now)