Bugfix - generate self.size to keep GPU happy. Fixes #13