Fixed bug: crashed if start>size