Over time, ballast is crushed or moved by the weight of trains passing over it, periodically requiring relevelling (tamping) and eventually to be cleaned or replaced. If this is not done, the tracks may become uneven, causing swaying, rough riding and possibly derailments.