find floor of square root