reenabled trimming with the trim chance parameter, currently set to 0.01