fixed boundary case where there's only one buffer