Under the pact , Russia will build the capsule , while European engineers build the service module and the engine block .