optimize the code? | open.mp forum