Added base die calculation