Rebuilt 340 knocking sound

Compression doesn't have anything to do with knocking, probably a assembly error by whoever built it. Where are you located?