What should be the foundation of the home fireplace

I mounted a reliable foundation for a solid fuel fireplace should start with the fact that a recess of 20-40 centimeters is dug up in the ground, smooth its bottom in a single level, and after, compacted with a tramp.