[common.fixed_map] fix OOM and reenable test
- N-list.size() is of type size_t
- for list.size() > N, N-list.size() will be really big, not negative