Extracted boundaries to another class.