ensure_space ->
1) on pattern slots drop duplicates
2) don't retry ensure_space_compress if failed before