added some methods to layoutBufGeo & example update