modified slice allocation