Removed storing of zeros in local memory