Well for the non standard sizes I tend to enlarge the covers images to the needed size, then affix a new cover around the book (front back and spine) that has the right sized image on it
This way all my books are the same height in the bookshelf.
If only I could get all books to be the same thickness too