Remove isNaN check from numSquare