retab, pac optimization