Guards against overflows