cumsum aligned with Base definition