(via constant-memory)