renamed bufferUnit to ppixelsUnit