added padding to hidden critic index and deleted unused code bits