Rubik cube add optimize