tweaking PS dump truncation logic