Enforce continuous boundary. Remove theta=0 value.