there are different they dont have valve pockets
Right, but M40 pistons are little lower, so they don't have the collision when the m42 head is put on. So it is possible to put them in, but You will get lower C/R.
If You want I can take some pictures...