I'm not quite sure what you mean, so i'll state some general tips. Don't use several copies of the Shared variables, drop 1 on the block diagram and split the wire as needed. Else there's a chance the program reads several times for less efficiency. Also, the top loop has no wait, making it a cpu hog, add a wait of 40(?) ms.
The LED-level can preferrably be replaced by a an array of LEDs with a Level Quotient 16 (or however big your steps are) to determine how many leds are to be lit. See attachment.