implemented setter and getter for window shape parameter b