1) off by one errors
(in this case it comes in the annoying form of messed up floor/ceil calculations)