fixed separate compilation in Makefile
common buffer size (temporary) and additional checks in python interface