damn math IS hard. fix buffering for REALS