buffer sizes converted to KBs
added timer for performance measurement