Correcting constuctor for baseline call

Moving baseline call to the bottom
removing unecessary code in stackedBar