fixed unitsInBlock function