added snaptogrid for y-values, tested with gen02 only..