What determines how large the crystals in an igneous rock will be?

A. How fast the rock cooled
B. How deep the rock formed
C. The speed of tectonic plate movement
D. How the magma was emplaced