Code cleaning

Use variable for buffer size