Wall template size correction