compute parts