BUG: fix sum over integer frames