If you put together a DOHC EJ22E, assemble it as you would a 25D & use the 25D head bolts (22E bolts are too long), oil dipstick (25D dipstick has a higher mounting point), & black coolant pipe (22E pipe will NOT fit around the left DOHC head.)
Follow the factory service manual for the 25D to reassemble everything & make sure bolts & screws go back in their exact same spot. The end result will look just like a 25D.
If there are any questions, I'll answer them to the best I can. Btw, the final compression ratio I calculated with this particular engine was 9.4:1. I made sure to get as close to stock compression as possible so that I don't feel like the car is sluggish during movement. However, normal compression w/EJ22D hybrid can be anywhere from 8.6:1 to 8.8:1, which is decent for boost.