Add margin between snake parts, update input check