Impl simple square generator