added functionality that allow to the user set the dimensions of a projection