Sometimes a hamster won't burrow properly without very deep substrate,sometimes 12 inches or more being required
5 inches for a Syrian is still shallow.For a young Syrian you may get away with 6 inches,but you really want 8-12 inches at least for an adult Syrian to burrow properly.