Fixed degeneration in wall building in thicksolid mode. Minor correction. Test cases for issue CR26440