Find mistake for boundary
refacterging