By placing the ram near the hinge you can afford to have a shorter stroke and larger bore- this mean the ram is shorter so it fits in a less tall robot- that overcomes your need for a telescopic ram.