FIX: make swap when mem is <= (not <) 2GB