finalized layer boundary classification