verbose implementation for Sqr