pass size as uniform