added boundary state function to domain interface
updated mcsa manager to fix multiple set code hange