Set size now sets buffer size more conservatively
Added implemented slice method

Signed-off-by: Ozan Turgut <ozanturgut@gmail.com>