fixed efficiency longest bucket off by one