revert to non linear memory (faster ?)