Effective barrier heights of mixed phase contacts: Size effects