Deal with boundary case.