changed maximum primCount by using the maximum size a uniform block can be instead of using the maximum number of uniform blocks.