A new parallel TreeSPH code