Added optimizing pointer/data changes