Light-sheet optimization for microscopy