Stone Shape: can the stone extend past the original affected area?

The spell Stone Shape allows the caster to reshape a stone object or section of stone:

You touch a stone object of Medium size or smaller or a section of stone no more than 5 feet in any dimension and form it into any shape that suits your purpose.

Can the reshaped stone extends past the original affected area?

For example, would it be possible to raise a stone pillar from the ground using this spell, or extend a stone wall into a ramp?