Can someone explain how the idiom "расшибись в лепешку"; which literally means: "you hurt yourself into a cookie" wind up meaning "you exert yourself to the fullest"