Ok, by the sound of it, you're doing a cichlid tank. If this is the case, where you are going to have fish that dig, place the rocks directly on the glass or a piece of polystyrene, then place the sand. No matter how much you compact the sand, any fish that dig, cichlids, catfish, loaches and...