enlarge space if thats needed

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>