updated: limit output lines to 8k.