Fifties from Mehidy Hasan Miraz and Jaker Ali helped Bangladesh secure a lead of 81 runs by the end of Day 3 of the first Test against South Africa at the Shere Bangla National Stadium on Wednesday.