Header margin tuning