more precise stdout box sizing