Cooling and hardening form this type of rock