Fixing locality implementation for intel compiler