Fix / by 0 partitioning small window features