added stuff about volume flattening