Fixed little errors; segment samples generation works