Optimized voltage divider resistors