Split as stack

See issue #133