Boundary restrictions corrected