Remove path check; switch size logic