Memory: Optimize device access by limiting the possible offsets