added a position for each stmt
ir