Adding cache padding to align edge blocks