Yes, you need to find out exactly what your alkalinity, calcium, and magnesium levels are. Keeping these in balance is key to avoid overdose or precipitation like you've experienced. Likely there will be a bit of precipitation in the form of magnesium hydroxide as you dose the Alkalinity part...