simple SpaceSaving impl