Na, stroke comes from the size of the crankshaft (and determines how far the pistons travel up and down). The size of the ports and valves in the heads determines how much fuel and air they will flow, and compression pretty much determines how hard the combustion will be (like sticking dynamite in a brick)